Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make spec_test idempotent #16392

Merged
merged 1 commit into from
Feb 24, 2020
Merged

Conversation

ph
Copy link
Contributor

@ph ph commented Feb 18, 2020

The previous implementation was actually saving the content over existing
spec files. So everytime that you ran the test the files would have be
modified and you had to ignore them on commit.

This commit move the generated file into a temporary directory.

The previous implementation was actually saving the content over existing
spec files. So everytime that you ran the test the files would have be
modified and you had to ignore them on commit.

This commit move the generated file into a temporary directory.
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ingest (Project:fleet)

@ph ph requested a review from michalpristas February 19, 2020 13:27
@ph
Copy link
Contributor Author

ph commented Feb 21, 2020

@michalpristas If you have can you take a look at this?

Copy link
Contributor

@michalpristas michalpristas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense, thanks ph

@ph ph merged commit 77f5f68 into elastic:feature-ingest Feb 24, 2020
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
The previous implementation was actually saving the content over existing
spec files. So everytime that you ran the test the files would have be
modified and you had to ignore them on commit.

This commit move the generated file into a temporary directory.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants